// 获取文章信息
import httpInstance from '@/utils/http'

export const uploadAvatarFile = (formData) => {
  return httpInstance({
    url: '/api/file/upload',
    method: 'post',
    data: formData,
    headers: {
      'Content-Type': 'multipart/form-data',
    },
  })
}
